package com.zkq.moduleImport;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Configuration;

/**
 * @author: ZhangKaiQiang
 * @date: 2021/3/15
 * @time: 17:19
 **/
@Configuration
@EnableTavern
public class TavernConfiguration {


    public static void main(String[] args) {
        AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(TavernConfiguration.class);
        Boss boss = ctx.getBean(Boss.class);
        System.out.println(boss);
    }
}
